package cc.vv.baselibrary.bean;

import cc.vv.baselibrary.bean.base.BaseEntityObj;

/**
 * 文件上传返回实体类
 *
 * @author Chen.qi
 */
public class ImageObj extends BaseEntityObj {

    /**
     * 名字
     */
    private String name;

    /**
     * 图片地址
     */
    private String url;

    private String md5;

    private String ext;

    private String size;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getMd5() {
        return md5;
    }

    public void setMd5(String md5) {
        this.md5 = md5;
    }

    public String getExt() {
        return ext;
    }

    public void setExt(String ext) {
        this.ext = ext;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    @Override
    public String toString() {
        return "ImageObj{" +
                "name='" + name + '\'' +
                ", url='" + url + '\'' +
                ", md5='" + md5 + '\'' +
                ", ext='" + ext + '\'' +
                ", size='" + size + '\'' +
                '}';
    }
}
